<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/3.5.22/vue.global.js"></script>
</head>

<body>
    <div id="app">
        <p>{{one}}</p>

        <div v-show="show">我走了</div>

        <div v-if="show">if跑过来</div>
        <div v-else>else跑过去</div>

        <button @click="show=!show">{{btnText}}</button>

        <ul>
            <li v-for="item in stu" :key="item.id">姓名：{{item.name}},年龄：{{item.age}}</li>
        </ul>
    </div>
    <script src="two.js"></script>
</body>

</html>